import React from 'react'

import Father from './Father'

import Uncle from './Uncle'


// import store from './store/index'

// console.log(store)
// console.log(store.getState());  // 获取状态


export default function App (props) {
    const { count, addCount, subCount } = props
    console.log(addCount);
    console.log(subCount)
    return (
        <>
            <div>App ------ redux store 的值：{count}</div>
            <Father addCount={addCount}></Father>
            <Uncle subCount={subCount} ></Uncle>
        </>

    )
}
